import request from '@/utils/request'

let recoveryInfoApi = {
  // 查询回收账号列表
  listRecoveryInfo(query) {
    return request({
      url: '/recovery/list', method: 'get', params: query
    })
  }, // 查询回收账号详细
  getRecoveryInfo(id) {
    return request({
      url: '/recovery/' + id, method: 'get'
    })
  }, // 新增回收账号
  addRecoveryInfo(data) {
    return request({
      url: '/recovery', method: 'post', data: data
    })
  },

// 修改回收账号
  updateRecoveryInfo(data) {
    return request({
      url: '/recovery', method: 'put', data: data
    })
  },

// 删除回收账号
  delRecoveryInfo(id) {
    return request({
      url: '/recovery/' + id, method: 'delete'
    })
  },

// 导出回收账号
  exportRecoveryInfo(query) {
    return request({
      url: '/recovery/export', method: 'get', params: query
    })
  }
}

export default recoveryInfoApi;


